package com.xtaller.gateway.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by Taller on 2017/7/26.
 */
@Controller
public class PublicRoute {
    @RequestMapping("/login")
    public String login(Map<String,Object> model){
        return "login";
    }
    @RequestMapping("/index")
    public String index(Map<String,Object> model){
        return "index";
    }
    @RequestMapping("/table")
    public String table(Map<String,Object> model){
        return "table";
    }
}
